package com.zzh.partnersys.im.sensitiveword.service;

import com.zzh.partnersys.im.sensitiveword.algorithm.IWordFactory;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ??????
 * @version 1.0
 */
@Component
public class MyWordFactory implements IWordFactory {

//    @Autowired
//    private SensitiveWordMapper sensitiveWordMapper;

    @Override
    public List<String> getWordList() {
//        return sensitiveWordMapper.selectList(null)
//                .stream()
//                .map(SensitiveWordDO::getWord)
//                .collect(Collectors.toList());
        return null;
    }
}
